package com.chushouya.order.dto.admin.action;

import com.chushouya.order.constants.KefuOrderActionEnum;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.math.BigDecimal;

@ApiModel("订单完成")
@Data
public class OrderCompleteAction extends KefuBaseAction {

    public OrderCompleteAction() {
        super.setOrderAction(KefuOrderActionEnum.COMPLETE);
    }
    @ApiModelProperty("订单id")
    @NotNull(message = "订单id不能为空")
    private Long orderId;

    @ApiModelProperty("支付方式")
    private Integer payType;

    @ApiModelProperty("成交价")
    private BigDecimal completePrice;

    @ApiModelProperty("操作备注")
    private String actionNote = "";

}
